package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.PageQueryDto;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.vo.CountByTimeVo;

import java.util.List;

/**
 * @author: JBY
 * @since: 2025/08/22 14:26
 */
public interface MemberReservationService extends IService<Reservation> {
    Long getCancelledCount();

    List<CountByTimeVo> getCountByTime(Long time);

    String add(ReservationDto reservationDto);

    TableDataInfo<Reservation> pageQuery(PageQueryDto pageQueryDto);

    boolean cancel(Long id);
}
